Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offline Mode for zingo-mobile #1540

Merged
merged 8 commits into from
Nov 27, 2024
Merged

Offline Mode for zingo-mobile #1540

merged 8 commits into from
Nov 27, 2024

Conversation

dorianvp
Copy link
Member

No description provided.

@dorianvp dorianvp self-assigned this Nov 19, 2024
@zancas
Copy link
Member

zancas commented Nov 22, 2024

@dorianvp can this be tested with Kotlin in zingo-mobile? Or detox?

@dorianvp dorianvp marked this pull request as ready for review November 27, 2024 15:23
@zancas zancas merged commit 6494084 into zingolabs:dev Nov 27, 2024
23 checks passed

let valid_uri = crate::config::construct_lightwalletd_uri(Some(
crate::config::DEFAULT_LIGHTWALLETD_SERVER.to_string(),
));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really think this test is correct, I see valid_uri with a valid uri, hehehehe, obviously, and IMO this test needs a different value here, IDK like http::Uri::default() which for me is a empty server uri.

)
.unwrap();

assert_eq!(valid_config.get_lightwalletd_uri(), valid_uri);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this make no sense to me... in a serverless scenario... in fact the normal situation for serverless is:

  • server uri: empty.
  • chain type: empty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants